package cn.edu.ecut.se2024.User;

public class waresentry {
	private int Number;
	private String Supplier;
	private String PID;
	private String Pname;
	private int Pquantity;
	private int Pprice;
	public waresentry() {}
	public waresentry(int Number) {
		this.Number=Number;
	}
	public waresentry(int Number,String Supplier,String PID,String Pname,int Pquantity,int Pprice)
	{
		this.Number=Number;
		this.Supplier=Supplier;
		this.PID=PID;
		this.Pname=Pname;
		this.Pquantity=Pquantity;
		this.Pprice=Pprice;
	}
	public int getNumber() {
		return Number;
	}
	public void setNumber(int number) {
		Number = number;
	}
	public String getSupplier() {
		return Supplier;
	}
	public void setSupplier(String supplier) {
		Supplier = supplier;
	}
	public String getPID() {
		return PID;
	}
	public void setPID(String pID) {
		PID = pID;
	}
	public String getPname() {
		return Pname;
	}
	public void setPname(String pname) {
		Pname = pname;
	}
	public int getPquantity() {
		return Pquantity;
	}
	public void setPquantity(int pquantity) {
		Pquantity = pquantity;
	}
	public int getPprice() {
		return Pprice;
	}
	public void setPprice(int pprice) {
		Pprice = pprice;
	}
	@Override
	public String toString() {
		return "waresentry [Number=" + Number + ", Supplier=" + Supplier + ", PID=" + PID + ", Pname=" + Pname
				+ ", Pquantity=" + Pquantity + ", Pprice=" + Pprice + "]";
	}

}